# -*- coding: utf-8 -*-
from matplotlib import pyplot
import numpy as np

def get_file():
    file_dir = "D:\\Project\\P_data"
    data = np.loadtxt('%s\\1.txt'%file_dir)
    print data[:, :2]

get_file()